<template>
  <div class="collect-page">
    <!-- 使用封装的组件 -->
    <ArticleItem></ArticleItem>
    <ArticleItem></ArticleItem>
    <ArticleItem></ArticleItem>
  </div>
</template>

<script>
import { collectListApi } from '@/api/article'
export default {
  name: 'CollectPage',
  data () {
    return {
      list: []
    }
  },
  async created () {
    const res = await collectListApi({
      page: 1,
      pageSize: 10
    })
    this.list = res.data.rows
  },
  methods: {

  }
}
</script>

<style lang="less" scoped>

</style>
